package ooad.gof.factory;
/**
 * 程序当中任何一个类X
 *
 */
public class Client {
	public static void main(String[] args) {
		Driver driver = new Driver();
        Product product = new Car();//干掉
        driver.setProduct(product);
        driver.drive();
	}
}
